package hn.cch.constant;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public enum Name {



    ACCESS_SERVER_PORT("access.server.port", "接入服务器监听端口");

    private static Logger logger = LoggerFactory.getLogger(Name.class);


    private String en;
    private String cn;

    Name() {
    }

    Name(String en, String cn) {
        this.en = en;
        this.cn = cn;
    }

    public String getEn() {
        return en;
    }

    public void setEn(String en) {
        this.en = en;
    }

    public String getCn() {
        return cn;
    }

    public void setCn(String cn) {
        this.cn = cn;
    }


    public static void main(String[] args) {
        Name[] names = Name.values();
        for (Name name:names) {
            logger.info("name:en=" +name.getEn()+ "|cn=" + name.getCn());
        }
    }
}
